package cn.tedu.oop;

public class Test5_This2 {
    public static void main(String[] args) {
        new Demo2();
        new Demo2(1);
    }
}
class Demo2{
    public Demo2(){
        //this(10);
        System.out.println("无参构造");
    }
    public Demo2(int a){
        this();
        System.out.println("含参构造"+a);
    }
}